package com.hoshiicloud.goods.entity.category;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 品牌类目
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("brand_category")
public class BrandCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("id")
    private Long id;

    /**
    * 品牌ID
    */
    @TableField("brand_id")
    private Long brandId;


    /**
    * 类目ID
    */
    @TableField("category_id")
    private Long categoryId;


    /**
    * 1-商品类目  2-营销类目
    */
    @TableField("type")
    private Integer type;




    /**
    * 创建时间
    */
    @TableField("created_time")
    private LocalDateTime createdTime;


    /**
    * 修改时间
    */
    @TableField("updated_time")
    private LocalDateTime updatedTime;


    /**
    * 创建人
    */
    @TableField("created_by")
    private String createdBy;


    /**
    * 修改人
    */
    @TableField("updated_by")
    private String updatedBy;


    /**
    * 是否删除
    */
    @TableField("deleted")
    private Integer deleted;



}
